package com.example.payment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.payment.entity.Payment;
import java.math.BigDecimal;

public interface PaymentService extends IService<Payment> {
    Payment pay(String orderNo, Long userId, BigDecimal amount);
    Payment getPaymentByOrderNo(String orderNo);
}
